package com.example.websocketdemo2.Socket;

/**
 * @program: basic
 * @description: websocket 接口
 * @author: Cloud
 * @create: 2020/11/17 10:19:47
 */
public interface WebSocketService {

    /**
     * 群发
     * @param message
     */
    void groupSending(String message);

    /**
     * 指定发送
     * @param name
     * @param message
     */
    void appointSending(String name, String message);
}
